import { request } from '../request.js'

// 项目各类接口
const INDEX = {
  // 查询审批单列表 POST /agreePass/selectAssetsList
  selectAssetsList: param => request('agreePass/selectAssetsList', param),
  // 查询审批记录 POST /agreePass/agreeRecordSelectList
  agreeRecordSelectList: param => request('agreePass/agreeRecordSelectList', param),
  // 查询审批详情 agreeSelectDetail
  agreeSelectDetail: param => request('agreePass/agreeSelectDetail', param),
  // 提交申请  agreePass.agreeSubmit
  agreeSubmit: param => request('agreePass/agreeSubmit', param),
  // 审批确定  agreePass.agreePass
  agreePass: param => request('agreePass/agreePass', param),
  // 返回资产编号信息下拉框 POST /agreePass/getAssetsNumByDepart
  getAssetsNumByDepart: param => request('agreePass/getAssetsNumByDepart', param),
  // 根据资产编号获取资产信息 POST /agreePass/getAssetsbyNum
  getAssetsbyNum: param => request('agreePass/getAssetsbyNum', param)
}

export default INDEX
